package com.jianli.smart.aop.demo;

public class ThreadLocalTest {
	private static ThreadLocal<Integer> localInt = new ThreadLocal<Integer>(){
		@Override
		protected Integer initialValue() {
			return 0;
		};
	};
	
	public Integer getValue(){
		localInt.set(localInt.get()+1);
		return localInt.get();
	}

}
